package command.example;

/**
 * @author Chen Guang
 * @date 2019/4/22 0022 上午 10:35
 */
public class BakeChickenWingCommand implements Command{

    private Barbecuer barbecuer;

    private String status;

    public BakeChickenWingCommand(Barbecuer barbecuer) {
        this.barbecuer = barbecuer;
    }

    @Override
    public void execute() {
        barbecuer.bakeChickenWing();
    }

    @Override
    public String status() {
        return this.status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "BakeChickenWingCommand{鸡翅}";
    }
}
